package com.anolesoft.yr.mbus.contm.service;

import com.anolesoft.yr.mbus.contm.entity.Paragraph;
import org.dom4j.DocumentException;
import java.util.List;

public interface ContmCreateService {

    /**
     *
     * @param contmMainJson
     */
    void addContm(String contmMainJson);


        /**
         * 将获取的html拆分成一个一个的自然段
         *
         * @param paragraphs
         * @return
         * @throws DocumentException
         */
    List<Paragraph> getParagraphXml(String paragraphs) throws DocumentException;


}
